[INFO] cloning repository https://github.com/JacobHaig/powder
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JacobHaig/powder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHaig%2Fpowder", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHaig%2Fpowder'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc949337eab279bffcee2ffed1bff11f8e906f03
[INFO] building JacobHaig/powder against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJacobHaig%2Fpowder" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JacobHaig/powder on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JacobHaig/powder
[INFO] finished tweaking git repo https://github.com/JacobHaig/powder
[INFO] tweaked toml for git repo https://github.com/JacobHaig/powder written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/JacobHaig/powder already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f0ef39003ed565771d4c7cb40eda85682e7741c85eef1e193eecbf99426163e
[INFO] running `Command { std: "docker" "start" "-a" "4f0ef39003ed565771d4c7cb40eda85682e7741c85eef1e193eecbf99426163e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f0ef39003ed565771d4c7cb40eda85682e7741c85eef1e193eecbf99426163e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f0ef39003ed565771d4c7cb40eda85682e7741c85eef1e193eecbf99426163e", kill_on_drop: false }`
[INFO] [stdout] 4f0ef39003ed565771d4c7cb40eda85682e7741c85eef1e193eecbf99426163e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96eee421091a01cecf7a4d3d99638de1ee27202110314d4880fd281a97440f4f
[INFO] running `Command { std: "docker" "start" "-a" "96eee421091a01cecf7a4d3d99638de1ee27202110314d4880fd281a97440f4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling powder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom`
[INFO] [stdout]  --> src/grid.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::prelude::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice::GroupBy`
[INFO] [stdout]  --> src/sim.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::slice::GroupBy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParticalType`
[INFO] [stdout]  --> src/sim.rs:5:43
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::grid::{self, Change, Partical, ParticalType};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sim.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut success;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sim.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut success;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sim.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut success;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `single_partical` is never used
[INFO] [stdout]    --> src/main.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn single_partical(grid: &mut grid::Grid, x: i32, y: i32) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rect_partical` is never used
[INFO] [stdout]    --> src/main.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn rect_partical(grid: &mut grid::Grid, x: i32, y: i32) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_partical` is never used
[INFO] [stdout]    --> src/main.rs:173:4
[INFO] [stdout]     |
[INFO] [stdout] 173 | fn random_partical(low: u32, high: u32) -> grid::ParticalType {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_at_index` is never used
[INFO] [stdout]   --> src/grid.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn get_at_index(&self, index: isize) -> Option<&Partical> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_coord` is never used
[INFO] [stdout]   --> src/grid.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn get_coord(&self, index: isize) -> (isize, isize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_pixel` is never used
[INFO] [stdout]   --> src/render.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn draw_pixel(canvas: &mut Canvas<Window>, x: i32, y: i32) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcLnaHO5/symbols.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.powder.4c13e4b1-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df.s8qpb1q5znrg3z5.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnum-325c2726d69b2063.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-60eb36a8587102b6.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-19e7aa99d3b18baa.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-e0055ebaee15a206.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-8bf522657c5c6576.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-4d5b5e82c986645c.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-465a2bd5cb0fd6cd.rlib" "/opt/rustwide/target/debug/deps/libsdl2-2bd147b51f9d25a1.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-e9f9238c674cdab0.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/librand-9a90bcc80facfc0f.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-31d20b9f3b5957ed.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-b183ff56153a063c.rlib" "/opt/rustwide/target/debug/deps/librand_core-f1d5af8d6dfe78ce.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-52e4924340a2bebe.rlib" "/opt/rustwide/target/debug/deps/liblibc-08856c720d5275f9.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_mixer" "-lSDL2_image" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/powder-9c19e230c5d470df" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_mixer
[INFO] [stdout]           /usr/bin/ld: cannot find -lSDL2_image
[INFO] [stdout]           /usr/bin/ld: cannot find -lSDL2_ttf
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `powder` due to 2 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "96eee421091a01cecf7a4d3d99638de1ee27202110314d4880fd281a97440f4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96eee421091a01cecf7a4d3d99638de1ee27202110314d4880fd281a97440f4f", kill_on_drop: false }`
[INFO] [stdout] 96eee421091a01cecf7a4d3d99638de1ee27202110314d4880fd281a97440f4f
